package Cafezam;

public class J12Ch04Ex01Song {
	public static void main(String[] args)
	{ 
		Song a=new Song();
		a.title="Let It go";
		a.artist="효린";
		a.album="Frozen OST";
		a.composer[1]="Various Artist";
		a.composer[2]="Various Artist";
		a.year="2013";
		a.track="5";
		a.show();
	
	}//main

}//class

class Song{
	String title;
	String artist;
	String album;
	String composer[]=new String[3];
	String year;
	String track;
	
	public void show()
	{
		System.out.println(title);
		System.out.println(artist);
		System.out.println(album);
		if(composer!=null){
		for(int i=1;i<composer.length;i++)
		{
		System.out.println(composer[i]);
		}
		}
		System.out.println(year);
		System.out.println(track);
	}//show
	
	
	
}//song
